﻿<%@ Page Language="C#" MasterPageFile="~/admin/AdminMaster.master" AutoEventWireup="true" CodeFile="ManageSubAdmin.aspx.cs" Inherits="ManageSubAdmin"%>
<%@ Register src="../Controls/SubAdminCreation.ascx" tagname="SubAdminCreation" tagprefix="uc2" %>
<%@ Register src="../Controls/SubAdminList.ascx" tagname="SubAdminList" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="H" Runat="Server">

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="P" Runat="Server">
 <!-- dashboard left content open -->
  	<div class="dash_left">
  	  	<!-- breadcrum open -->
    <div class="breadcrum"><a href="Dashboard.aspx">Dashboard</a> &gt; <a href="ManageSubAdmin.aspx" class="current">Manage Sub-Admins</a><a class="setting" href="Profile.aspx">Account Settings</a></div>
	<!-- breadcrum close -->
  		<!-- box open -->
		<div class="boxwrap"><div class="boxbtm">
		<div class="boxmid">
		  <h1 class="boxtitle">Manage Sub-Admins</h1>
    <div>
        <asp:Panel ID="pnlSubAdminList" runat="server" Visible="true">
            <uc1:SubAdminList ID="SubAdminList1" runat="server" OnEditRequested="ucUserList_EditRequested" OnAddNewRequested="ucUserList_AddNewRequested" OnDataSourceRequested="ucUserList_DataSourceRequested"/>
        </asp:Panel>
        <asp:Panel ID="pnlSubAdminViewEdit" runat="server" Visible="false">
            <uc2:SubAdminCreation ID="SubAdminCreation1" runat="server" OnDataSourceUserRequested="ucUserViewEdit_DataSourceUserRequested" OnDataSourceRolesRequested="ucUserViewEdit_DataSourceRolesRequested"/>
        </asp:Panel>
        <div>
             
                <div class="admn_frm_row">
                <div class="admn_frm_leftcol"></div>
                <div class="admn_frm_rightcol">
               	   <asp:ImageButton ID="bttnsave" runat="server" 
                    AlternateText="Save" ValidationGroup="All" Visible="false" onclick="bttnsave_Click" CssClass="admn_bttn_save" src="../images/admin_bttn/trans.gif">
                    </asp:ImageButton>
                   <asp:ImageButton ID="bttncancel" runat="server" 
                    AlternateText="Cancel" Visible="false" 
            onclick="bttncancel_Click" CssClass="admn_bttn_cancel" Width="100px" src="../images/admin_bttn/trans.gif" >
                    </asp:ImageButton>
                </div>
                </div>
    </div>
    </div>
		  <div class="viewmore"></div>
		</div>
		</div></div>
		<!-- box close -->
		</div>
		<!-- dashboard left content close -->
</asp:Content>

